package com.zyit.service;

import com.zyit.model.SysUsers;

import java.util.List;

public interface SysUsersService {

    /**
     * 查询所有用户
     * @return
     */
    List<SysUsers> findAll();


    /**
     * 根据userid查询医生
     */
    SysUsers findById(Long id);




    int addUser(SysUsers sysUsers);

    List<SysUsers>pageAll(int p,int s);

    SysUsers login(SysUsers sysUsers);
}
